package cn.stylefeng.guns.modular.gridsystem.temperature.model.param;

import cn.stylefeng.guns.core.pojo.base.param.BaseParam;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class BizTemperatureExceptionParam {

    private Integer stationId;

    @NotNull(message = "ID 不能为空", groups = {BizTemperatureExceptionParam.change.class})
    private Integer id;

    private Integer deviceId; //关联的设备',

    private Integer errorType;

    private Integer gatewayId;//上报网关的编号',

    @NotNull(message = "处理状态不能为空", groups = {BizTemperatureExceptionParam.change.class})
    private Integer status;//故障处理状态（未处理，已处理）

    private String startTime;

    private String endTime;
    //处理人
    private Integer manageUserId;
    //处理时间
    private String manageTime;


    /**
     * 参数校验分组：改变
     */
    public @interface change {
    }
}
